/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tankproject;

/**
 *
 * @author Thien
 */
public abstract class Vehicle {

    private double x;
    private double y;
    private double width;
    private double height;
    private double tankVelocity;

    /**
     * @return the x
     */
    public Vehicle() {
        width = 112;
        height = 150;
    }

    public double getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(double x) {
        this.x = x;
    }

    /**
     * @return the y
     */
    public double getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(double y) {
        this.y = y;
    }

    /**
     * @return the width
     */
    public double getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(double width) {
        this.width = width;
    }

    /**
     * @return the height
     */
    public double getHeight() {
        return height;
    }

    /**
     * @param height the height to set
     */
    public void setHeight(double height) {
        this.height = height;
    }

    /**
     * @return the tankVelocity
     */
    public double getTankVelocity() {
        return tankVelocity;
    }

    /**
     * @param tankVelocity the tankVelocity to set
     */
    public void setTankVelocity(double tankVelocity) {
        this.tankVelocity = tankVelocity;
    }
}
